<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/head.jsp"%>

<div class="content">
    <div class="container-fluid">
        <nav class="pull-left">
            <strong>你现在所在的位置是:</strong>&nbsp;&nbsp;&nbsp; <span>供应商管理页面 >>
                供应商添加页面</span><br> <br>
        </nav>
    </div>
    <div class="container-fluid">
        <div class="content">
            <div class="container-fluid">
                <div class="row">
                    <div>
                        <div class="card">
                            <div class="header">
                                <h4 class="title">
                                    添加供应商信息 <small> Add Provider Information</small>
                                </h4>
                            </div>
                            <div class="content">
                                <form id="providerForm" name="providerForm" method="post"
                                      action="${pageContext.request.contextPath}/sys/provider/add.html">

                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label>创建者 <small> Created By</small> </label>
                                                <input type="text" class="form-control border-input"
                                                       placeholder="请输入创建者" name="createdBy" id="createdBy"><font
                                                    color="red"></font>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label>供应商编码 <small> Provider Code</small> </label>
                                                <input type="text" class="form-control border-input"
                                                       placeholder="请输入供应商编码" name="proCode" id="proCode"><font
                                                    color="red"></font>
                                            </div>
                                        </div>
                                        <div class="col-md-5">
                                            <div class="form-group">
                                                <label>供应商名称 <small> Provider Name</small> </label>
                                                <input type="text" class="form-control border-input"
                                                       placeholder="请输入供应商名称" name="proName" id="proName"><font
                                                    color="red"></font>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label>联系人 <small> Contact Person</small> </label>
                                                <input type="text" class="form-control border-input"
                                                       placeholder="请输入联系人" name="proContact" id="proContact"><font
                                                    color="red"></font>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label>联系电话 <small> Phone Number</small> </label>
                                                <input type="text" class="form-control border-input"
                                                       placeholder="请输入联系电话" name="proPhone" id="proPhone"><font
                                                    color="red"></font>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label>传真 <small> Fax</small> </label>
                                                <input type="text" class="form-control border-input"
                                                       placeholder="请输入传真号码" name="proFax" id="proFax">
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label>地址 <small> Address</small> </label>
                                                <input type="text" class="form-control border-input"
                                                       placeholder="请输入地址" name="proAddress" id="proAddress">
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label>企业营业执照 <small> Business License</small> </label>
                                                <input type="file" class="form-control border-input"
                                                       name="companyLicPicPath" id="companyLicPicPath">
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label>组织机构代码证 <small> Organization Code Certificate</small> </label>
                                                <input type="file" class="form-control border-input"
                                                       name="orgCodePicPath" id="orgCodePicPath">
                                            </div>
                                        </div>
                                    </div>

                                    <div class="text-center">
                                        <button type="submit" id="add" class="btn btn-info btn-fill btn-wd">新增供应商</button>
                                        <button type="button" id="back" class="btn btn-success btn-fill btn-wd" onclick="window.history.back();">返回</button>
                                    </div>
                                    <div class="clearfix"></div>
                                </form>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<%@ include file="/WEB-INF/jsp/common/foot.jsp"%>
<script type="text/javascript">
    $(".sidebar-wrapper .nav li:eq(4)").addClass("active");
</script>
<script type="text/javascript"
        src="${pageContext.request.contextPath}/statics/js/providerAdd.js"></script>
